HeadlessExperimentalDomain

class HeadlessExperimentalDomain : Domain

This domain provides experimental commands only supported in headless mode.

This API is marked as experimental in protocol definition and can change in the future.

Functions

beginFrame
Link copied to clipboard
fun beginFrame(input: BeginFrameRequest): Single<BeginFrameResponse>
Sends a BeginFrame to the target and returns when the frame was completed.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables headless events for the target.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables headless events for the target.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
name
Link copied to clipboard
fun name(): String
Returns domain name.
needsBeginFramesChanged
Link copied to clipboard
fun needsBeginFramesChanged(): Flowable<NeedsBeginFramesChangedEvent>
Issued when the target starts or stops needing BeginFrames.

Sources

jvm source
Link copied to clipboard